import request from '@/utils/request'

// 请求地址列表
export const getAddressList = () => {
  return request({
    url: '/address/list',
    method: 'get'
  })
}

// 添加地址
export const addAddress = (addressId) => {
  return request.post('/address/add', {
    addressId
  })
}
